package com.linQing.waterWork.modle.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class EventHistoryExport implements Serializable {



    @ExcelProperty({"报警时间"})
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date eventTime;


    @ExcelProperty({"报警信息"})
    @ColumnWidth(24)
    private String eventMessage;

    @ExcelProperty({"报警等级"})
    @ColumnWidth(12)
    private String eventLevel;

    @ExcelProperty({"报警状态"})
    @ColumnWidth(12)
    private String state;


}
